package com.example.sfm.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
@Schema(name = "反馈视图对象", description = "用于表示用户反馈信息的视图对象")
public class FeedbackVo {

    @Schema(description = "反馈的唯一标识ID")
    private Integer id;

    @Schema(description = "反馈用户的ID")
    private Integer userId;

    @Schema(description = "留言人的姓名")
    private String fullName;

    @Schema(description = "留言的具体内容")
    private String message;


    @Schema(description = "对留言的回复内容")
    private String reply;


    @Schema(description = "反馈的处理状态")
    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "留言的时间，格式：yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "回复的时间，格式：yyyy-MM-dd HH:mm:ss")
    private LocalDateTime repliedAt;
}